package view;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

import java.io.IOException;

public class RegisterFrame extends Application {
   public   static  Stage stage;

    public static void main(String[] args) {
        launch(args);
    }

    @Override
    public void start(Stage primaryStage) throws IOException {
        Parent root = FXMLLoader.load(getClass().getResource("RegisterFrame.fxml"));
        primaryStage.setTitle("注册界面");
        primaryStage.setScene(new Scene(root, 575, 383));
        primaryStage.show();
        RegisterFrame.stage=primaryStage;
    }
}
